package com.zerox.mapper;


import com.zerox.pojo.SysUser;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author
 * @version V1.11
 * @ClassName:
 * @Description:
 * @Date
 */

public interface SysUserMapper {


    SysUser selectByUser(@Param("account") String account);

    List<SysUser> list(@Param("startIndex") Integer startIndex,@Param("pageSize") Integer pageSize,@Param("realName")String a,@Param("roleId")Integer d);

    int count(@Param("realName")String realName,@Param("roleId") Integer roleId);
    
    @Select("select * from t_sys_user where id=#{id}}")
    SysUser selectId(@Param("id") String id);
    
    Integer update(SysUser sysUser);
}
